package com.ruoyi.biz.constant;

/**
 * 设备信息枚举 统一规范
 * 0-离线
 * 1-开机
 * 2-关机
 */
public enum EquipmentEnum {
    OFF_line(0,"离线"),
    Power_On(1,"开机"),
    Shut_Down(2,"关机");

    private int code;
    private String msg;

    EquipmentEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}